package com.Service;


import com.model.pojo.Menu;
import com.model.pojo.User;
import com.model.pojo.UserPermissions;
import org.springframework.stereotype.Service;


import javax.servlet.http.HttpSession;
import java.util.List;

@Service
public interface UserPermissionsService {
    public List<UserPermissions> menuNameOne(String userName);

    public List<Menu> menuPath(String userName);

    public List<User> userNames();
    public List<UserPermissions> userPermissionsList(String name);
    public boolean updaPermissions(String name,String permissions,String[] menu, HttpSession session);

}
